Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix a bug when cluster mode and limited rate are used at the same time #264

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

luke36
Copy link

@luke36 luke36 commented Aug 28, 2024

In cluster mode, a client can open several connections. If one of them handles a response before the connection of another, m_reqs_processed is positive at line 556 so the timed event is not created. Since the bufferevent is already enabled, the process would hang forever. This might fix #94, might not. This is a quick fix. There are definitely better ways to repair it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

memtier_benchmark doest not exit as expected
1 participant